package com.fps.webshop.member.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.fps.webshop.common.utils.R;

@FeignClient("webshop-order")//要调用的服务名
public interface OrderService {
	//要远程调用方法的完整签名
    @RequestMapping("/order/order/info/{id}")
    R info(@PathVariable("id") Long id);
}
